How do you make it so when you press 7 it brings you to a different song? · Issue #2934 · ShadowMario/FNF | 您所在的位置:网站首页 › make your own fnf song › How do you make it so when you press 7 it brings you to a different song? · Issue #2934 · ShadowMario/FNF |
Hey. This is for 0.5.1 so idk about 0.5.2 yet (it added new lines) however your code should look like this in 0.5.1 function openChartEditor() ``` { persistentUpdate = false; paused = true; cancelMusicFadeTween(); CustomFadeTransition.nextCamera = camOther; if (FlxG.keys.justPressed.SEVEN) { switch (curSong.toLowerCase()) { case 'polyphone': PlayState.SONG = Song.loadFromJson("epitome", "epitome"); FlxG.switchState(new PlayState()); return; MusicBeatState.switchState(new ChartingState()); chartingMode = true; #if desktop DiscordClient.changePresence("Chart Editor", null, null, true); #end }} } |
CopyRight 2018-2019 实验室设备网 版权所有 |